Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.platform.faceted.search.jsf.content.view

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.faceted.search.jsf.content.view">

  <extension target="org.nuxeo.ecm.platform.ui.web.ContentViewService"
             point="contentViews">
    <contentView name="faceted_saved_searches">

      <showTitle>false</showTitle>

      <coreQueryPageProvider>
        <property name="coreSession">#{documentManager}</property>
        <whereClause docType="AdvancedSearch">
          <predicate parameter="ecm:fulltext" operator="FULLTEXT">
            <field schema="advanced_search" name="fulltext_all" />
          </predicate>
          <predicate parameter="dc:title" operator="FULLTEXT">
            <field schema="advanced_search" name="title" />
          </predicate>
          <predicate parameter="dc:modified" operator="BETWEEN">
            <field schema="advanced_search" name="modified_min" />
            <field schema="advanced_search" name="modified_max" />
          </predicate>
          <fixedPart>
            ecm:mixinType = 'FacetedSearch'
            AND ecm:currentLifeCycleState != 'deleted'
            AND ecm:currentLifeCycleState != 'deleted'
            AND ecm:parentId = ?
          </fixedPart>
        </whereClause>
        <parameter>#{userWorkspaceManagerActions.currentUserPersonalWorkspace.id}</parameter>
        <sort column="dc:title" ascending="true" />
        <pageSize>20</pageSize>
      </coreQueryPageProvider>

      <searchLayout name="document_content_filter"
        filterDisplayType="quick" />
      <showFilterForm>true</showFilterForm>

      <showPageSizeSelector>true</showPageSizeSelector>
      <useGlobalPageSize>true</useGlobalPageSize>
      <refresh>
        <event>documentChanged</event>
        <event>documentChildrenChanged</event>
        <event>savedSearchesMigrated</event>
      </refresh>
      <cacheKey>only_one_cache</cacheKey>
      <cacheSize>1</cacheSize>

      <resultLayouts>
        <layout name="document_listing_ajax" title="document_listing"
          translateTitle="true" iconPath="/icons/document_listing_icon.png"
          showCSVExport="true" showPDFExport="true" />
      </resultLayouts>

      <selectionList>FACETED_SAVED_SEARCHES_CURRENT_SELECTION</selectionList>
      <actions category="FACETED_SAVED_SEARCHES_CURRENT_SELECTION_LIST" />
    </contentView>

  </extension>
</component>